package com.weblog.msg;

/**
 * 系统层面的错误
 * @author zhw
 *
 */
public enum SystemEnum {
	S001("S001", "Redis没有启动"),
	S002("S002", "你要找的页面不见了");
	
	private String code;
	private String msg;
	
	private SystemEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
